import { Column, Entity, Index, PrimaryGeneratedColumn } from "typeorm";

@Index("idx_block_id", ["apartmentBlockId"], {})
@Index("idx_transport_id", ["apartmentTransportId"], {})
@Entity("apartment_transport_layout", { schema: "cbox" })
export class ApartmentTransportLayout {
  @PrimaryGeneratedColumn({ type: "int", name: "id", unsigned: true })
  id: number;

  @Column("int", { name: "apartment_block_id" })
  apartmentBlockId: number;

  @Column("int", { name: "apartment_transport_id" })
  apartmentTransportId: number;
}
